<?php
/**
 * Created by PhpStorm.
 * User: coolinmind
 * Date: 12/11/2018
 * Time: 15:19
 */

namespace App\Models\Finance;


use App\Models\BaseModel;

class Cost extends BaseModel
{
    public $table = 'cost';
    public $timestamps = false;
    private $type = ['固定成本', '其他成本'];

    public function getTypeAttribute($value)
    {
        return $this->type[$value];
    }
}